package com.iplay.service.favourites;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.iplay.dto.hotel.SimplifiedHotelDTO;
import com.iplay.entity.favourites.UserFavouritesDO;
import com.iplay.vo.favourites.PostFavouritesVO;

public interface UserFavouritesService {
	
	Page<UserFavouritesDO> findFavouritesByUserId(int userId, Pageable pageable);
	
	List<SimplifiedHotelDTO> findFavouriteHotelsByUserId(int userId, Pageable pageable);
	
	boolean addFavourites(int userId, PostFavouritesVO vo);
	
	boolean deleteFavourites(int userId, PostFavouritesVO vo);
	
	SimplifiedHotelDTO findFavouriteHotelByUserIdAndHotelId(int userId, int hotelId);
}
